from manim import *

class app(Scene):
    def construct(self):
        dot = Dot(ORIGIN)   # 点
        arrow = Arrow(ORIGIN, [2,2,0], buff=0)  # 箭头
        numberplane = NumberPlane()  # 坐标系
        dot_text = Text("(0,0)").next_to(dot, DOWN) # 文字 放置在点下方
        arrow_text = Text("(2,2)").next_to(arrow.get_end(), RIGHT)  # 文字 放置在箭头末端
        self.add(numberplane, dot, arrow, dot_text, arrow_text)